home *** CD-ROM | disk | FTP | other *** search
- Path: ra.nrl.navy.mil!usenet
- From: pitre@n5160d.nrl.navy.mil (Richard Pitre)
- Newsgroups: comp.lang.c++
- Subject: Re: C++ vs Delphi 2.0
- Date: 19 Mar 1996 20:49:47 GMT
- Organization: Naval Research Laboratory
- Message-ID: <4in6lb$16s@ra.nrl.navy.mil>
- References: <4ims71$oh3@hawk.pix.za>
- NNTP-Posting-Host: n5160d.nrl.navy.mil
-
- In article <4ims71$oh3@hawk.pix.za> prism@pixie.co.za (Pri$m) writes:
- > Jesper Bagger <Jesper.Bagger@cdc.com> wrote:
- >
- > >info@axiombc.demon.co.uk (General Account) wrote:
- >
- > >> --- <snip>.
- > >>Is C++ easier to develop in?
- > >No, C++ has a steep learning curve compared with Pascal (Delphi), and much
- slower compilation
- > >speed. So the design-code-test cyclus is much shorter with Delphi.
- > I've programmed in both Delphi and C++. Yes, Delphi is beatifully easy
- > to use. Yes, it's a faster development tool. But what's more important
- > is how fast you want your program to RUN, not be developed.
- >
-
- What's most important is that you can get your program to exist.
- Second you want your program to do what you intended to do.
- Third you want to be able to read and understand your own code
- next week so you can fix it and make it do more good stuff.
- Fourth you want to be able to use your program together with other programs.
- Fifth you want it to go as fast as possible given that the
- first four conditions are met.
-
- Some people will argue about the order of the last few items and other
- poeple would add more items to this list.
- Fundamentally, its your performance that matters, not the machine's
- performance. If you can figure out how its otherwise then
- program in assembler or machine code.
-
- > >>Has Delphi as many widgets available for Win95 as does C++?
- > >Don't know, ask somebody else.
- > Yes - Delphi 2.0 has every widget\gadget\class Borland C++ 5.0 has.
- > (To the best of my knowledge.)
-
- Does Borland C++ 5.0 have every widget that Delphi 2.0 has?
-
- >
- > >>Is Delphi True OO, as is C++?
-
- I don't think that either one is true OO. C++ definitely isn't.
-
- > >Sure. The major difference is, that there is no implicit
- constructor/destructor calls in
- > >Delphi. When objects is created, a Init-procedure must be called. Before
- objects are deleted,
- > >a Close/Destruct-procedure must be called, if the objects allocate other
- objects dynamically.
- >
- > >>In real terms, where does Delphi sit, with reference to overall
- > >>program speed? Basing this on C++, Access & VB 4.0.
- > >Don't know, ask somebody else.
- > Delphi destroys VB. I'm not sure about Access. C++ is, however, from
- > my personal tests, much faster.
-
- Much faster?
-
- >
- > >>What about Class Libraries, can we use C++ libraries in Delphi?
- > >Yes.
- >
- > The problem with Delphi is that most people don't seem to realise that
- > true programming power\flexibility and ease of use are generally
- > mutually exclusive.
-
- "Mutually exclusive" is a little strong these days.
- I think that Delphi was designed to get around some this limitation.
- That's part of what I think "RAD" is supposed to imply.
-
- > Delphi is in Pascal ... which is fundamentally
- > a teaching language and was never meant as anything more.
-
- Fundamentally?!
-
- > C++ .exe's
- > tend to be smaller and faster than Delphi .exe's. Although C++ has no
- > real standard, it's getting there and it is younger than Pascal.
- > Pascal tries to be English-like and this it has become pretty rigid.
- >
- > (This is a personal opinion)
-
- Really?
-
- > to fit smoothly ith OOP. Additionally, if
- > you use Delphi, you'll find that the general feel of it discourages
- > one from using code, and directly controlling things. This can't be
- > good!
-
- Get outta hear. Really?
-
- >
- > Cheerz,
- > Pri$m.
- >
- >
-
- Get Delphi and find out for yourself.
- You'll never get to the bottom of it
- reading any of these threads. C++ is also fine
- but my guess, based on your questions is
- that you would be happier all around with something like
- Delphi. I'm guessing that it will give you and your machine
- together good all around performance. Borland makes good tools.
- Visual Basic might also be a very good option.
-
- richard
-